<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <script>
        let arr = [11,54,23,76,43,65,88,90,22];
        let arr2 = arr.filter(item => {     // 打印偶数
            return item%2==0;
        });

        console.log(arr);
        console.log(arr2);
    </script>

</head>
<body>

</body>
</html>